package com.cy.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author : 残影
 * @Date: 2021-02-27 11:22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户词汇表")
public class UserVocabulary {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("书本id")
    private String bookId;

    @ApiModelProperty("章节名称")
    private String chapterName;

    @ApiModelProperty("词汇")
    private String vocabulary;

    @ApiModelProperty("是否记住（0表示未记住，1表示已经记住）")
    private Integer remember;

    @ApiModelProperty("复习次数")
    private Integer review;
}
